<html>
<head>
<title>Docs for page flatfile.php</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header_top">flatfile</td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td class="header_menu">
  		  [ <a href="../classtrees_flatfile.html" class="menu">class tree: flatfile</a> ]
		  [ <a href="../elementindex_flatfile.html" class="menu">index: flatfile</a> ]
		  [ <a href="../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
      <b>Packages:</b><br />
              <a href="../li_flatfile.html">flatfile</a><br />
            <br /><br />
		<b>Tutorials/Manuals:</b><br />
					<strong>Package-level:</strong>
							<ul>
	<li type="square"><a href="../flatfile/tutorial_flatfile.pkg.html">Flatfile Tutorial</a>
</ul>

									                        <b>Files:</b><br />
      	  <div class="package">
			<a href="../flatfile/_flatfile_flatfile_php.html">		flatfile.php
		</a><br>
	  </div><br />
      
            <b>Classes:</b><br />
        <div class="package">
		    		<a href="../flatfile/AndWhereClause.html">AndWhereClause</a><br />
	    		<a href="../flatfile/CompositeWhereClause.html">CompositeWhereClause</a><br />
	    		<a href="../flatfile/Flatfile.html">Flatfile</a><br />
	    		<a href="../flatfile/LikeWhereClause.html">LikeWhereClause</a><br />
	    		<a href="../flatfile/ListWhereClause.html">ListWhereClause</a><br />
	    		<a href="../flatfile/NotWhere.html">NotWhere</a><br />
	    		<a href="../flatfile/OrderBy.html">OrderBy</a><br />
	    		<a href="../flatfile/OrWhereClause.html">OrWhereClause</a><br />
	    		<a href="../flatfile/SimpleWhereClause.html">SimpleWhereClause</a><br />
	    		<a href="../flatfile/WhereClause.html">WhereClause</a><br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Procedural File: flatfile.php</h1>
Source Location: /flatfile.php<br /><br />

<br>
<br>

<div class="contents">
<h2>Classes:</h2>
<dt><a href="../flatfile/Flatfile.html">Flatfile</a></dt>
	<dd>Provides simple but powerful flatfile database storage and retrieval</dd>
<dt><a href="../flatfile/WhereClause.html">WhereClause</a></dt>
	<dd>Used to test rows in a database table, like the WHERE clause in an SQL statement.</dd>
<dt><a href="../flatfile/NotWhere.html">NotWhere</a></dt>
	<dd>Negates a where clause</dd>
<dt><a href="../flatfile/SimpleWhereClause.html">SimpleWhereClause</a></dt>
	<dd>Implements a single WHERE clause that does simple comparisons of a field  with a value.</dd>
<dt><a href="../flatfile/LikeWhereClause.html">LikeWhereClause</a></dt>
	<dd>Used to test rows in a database table, like the WHERE clause in an SQL statement.</dd>
<dt><a href="../flatfile/ListWhereClause.html">ListWhereClause</a></dt>
	<dd><a href="../flatfile/WhereClause.html">WhereClause</a> class to match a value from a list of items</dd>
<dt><a href="../flatfile/CompositeWhereClause.html">CompositeWhereClause</a></dt>
	<dd>Abstract class that combines zero or more <a href="../flatfile/WhereClause.html">WhereClause</a> objects  together.</dd>
<dt><a href="../flatfile/OrWhereClause.html">OrWhereClause</a></dt>
	<dd><a href="../flatfile/CompositeWhereClause.html">CompositeWhereClause</a> that does an OR on all its  child WhereClauses.</dd>
<dt><a href="../flatfile/AndWhereClause.html">AndWhereClause</a></dt>
	<dd><a href="../flatfile/CompositeWhereClause.html">CompositeWhereClause</a> that does an AND on all its  child WhereClauses.</dd>
<dt><a href="../flatfile/OrderBy.html">OrderBy</a></dt>
	<dd>Stores information about an ORDER BY clause</dd>
</div><br /><br />

<h2>Page Details:</h2>
Simple but powerful flatfile database  See http://lukeplant.me.uk/resources/flatfile/ for documentation and examples<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://www.opensource.org/licenses/mit-license.php">http://www.opensource.org/licenses/mit-license.php</a></td>
  </tr>
  <tr>
    <td><b>tutorial:</b>&nbsp;&nbsp;</td><td><a href="../flatfile/tutorial_flatfile.pkg.html">Flatfile Tutorial</a></td>
  </tr>
</table>
</div>
<br /><br />
<br /><br />
<br /><br />
  <hr />
	<a name="defineASCENDING"></a>
	<h3>ASCENDING <span class="smalllinenumber">[line 39]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>ASCENDING = 1</code>
    </td></tr></table>
    </td></tr></table>

    Indicates ascending order<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineDESCENDING"></a>
	<h3>DESCENDING <span class="smalllinenumber">[line 41]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>DESCENDING = -1</code>
    </td></tr></table>
    </td></tr></table>

    Indicates descending order<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineINTEGER_COMPARISON"></a>
	<h3>INTEGER_COMPARISON <span class="smalllinenumber">[line 34]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>INTEGER_COMPARISON = 'intcmp'</code>
    </td></tr></table>
    </td></tr></table>

    Used to indicate a comparison should be done as an integer comparison<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineNUMERIC_COMPARISON"></a>
	<h3>NUMERIC_COMPARISON <span class="smalllinenumber">[line 36]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>NUMERIC_COMPARISON = 'numcmp'</code>
    </td></tr></table>
    </td></tr></table>

    Used to indicate a comparison should be done as a numeric (float) comparison<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineSTRING_COMPARISON"></a>
	<h3>STRING_COMPARISON <span class="smalllinenumber">[line 32]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>STRING_COMPARISON = 'strcmp'</code>
    </td></tr></table>
    </td></tr></table>

    Used to indicate a comparison should be done as a string comparison<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<br />
  <hr />
	<a name="functionintcmp"></a>
	<h3>intcmp <span class="smalllinenumber">[line 334]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void intcmp(
mixed $a, mixed $b)</code>
    </td></tr></table>
    </td></tr></table><br />

		equivalent of strcmp for comparing integers, used internally for sorting and comparing<br /><br />    <br /><br />
	
    	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
	</div>
  <hr />
	<a name="functionnumcmp"></a>
	<h3>numcmp <span class="smalllinenumber">[line 342]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void numcmp(
mixed $a, mixed $b)</code>
    </td></tr></table>
    </td></tr></table><br />

		equivalent of strcmp for comparing floats, used internally for sorting and comparing<br /><br />    <br /><br />
	
    	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
	</div>

        <div class="credit">
		    <hr />
		    Documentation generated on Thu, 22 Dec 2005 12:59:50 +0000 by <a href="http://www.phpdoc.org">phpDocumentor 1.3.0RC3</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>